.row
  .col-md-12
    .panel.panel-default
      .panel-heading
        | Edit Author
      .panel-body
        = simple_form_for(@author, :url => author_path, html: { class: 'form-vertical' }, wrapper: :vertical_form) do |o|
          = o.input :name
          = o.input :phone
          = o.input :email
          = o.input :address
          = o.input :city
          = o.input :zip
          = o.input :country
          = o.input :foo
          = o.input :foo_confirmation
          = o.input :accepts, as: :boolean
          = o.button :submit, "Submit"
          = link_to "Cancel", author_path, {:class=>"btn btn-default"}
    .panel.panel-default
      .panel-heading
        | Danger Zone
      .panel-body
        = simple_form_for(@author, :url => author_path, :method => :delete) do |o|
          = o.button :submit, "Destroy", :class => 'btn-danger', :onclick => "return confirm('Are you sure?')"